package common

type Config struct {
	Server  Server
	Orderer OrdererOrg
}

// Server 服务器信息
type Server struct {
	IP       string
	User     string
	PassWord string
}

// OrdererOrg orderer配置信息
type OrdererOrg struct {
	Name     string
	Domain   string
	Orderers []string
	Country  string
	Province string
}

type PeerOrg struct {
	Name      string
	Country   string
	Province  string
	UserCount int
	Peers     []string
}

type Channel struct {
	Name string
	Orgs []string
}
